﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CL.Enum.Common.Special
{
    public enum ResultCodeEnum
    {
        [Description("成功")]
        Success = 200,

        [Description("无数据")]
        NullData = 204,

        [Description("签名错误")]
        SecretError = 501,

        [Description("服务不可用")]
        ServerNotAvailable = 503,

        #region 金额
        [Description("余额不足")]
        InsufficientBalance = 8000,

        [Description("不满足最小金额")]
        MinAmount = 8001,

        [Description("超出最大限制金额")]
        MaxAmount = 8002,

        [Description("充值金额错误")]
        PayAmountError = 8003,

        [Description("充值失败")]
        PayAmountFailure = 8004,

        [Description("支付金额格式不正确")]
        PayAmountFormatError = 8005,

        [Description("提现金额不足")]
        WithdrawAmount = 8006,
        #endregion
        #region 期号
        [Description("期号格式不正确")]
        IssueNumError = 5000,

        [Description("没有最新期次")]
        NoClausesIssue = 5001,

        [Description("当期起止时间格式不正确")]
        StartStopParameterError = 5002,
        #endregion
        #region 投注
        [Description("已停止投注")]
        LotStop = 6000,

        [Description("投注内容为空")]
        BettingInfoNull = 6001,
        #endregion
        
        [Description("时间戳错误")]
        TimeStampError = 991
    }
}
